/*
 * @Author: Wangtao
 * @Date: 2022-06-27 20:11:38
 * @LastEditors: Wangtao
 * @LastEditTime: 2022-08-24 17:22:30
 */
import { createApp } from 'vue'

import { createPinia } from 'pinia'

import Skeleton from '@/common/components/skeleton/index'

// 重置浏览器默认样式
import '@/common/assets/style/normalize.css'
// 全局自定义的element样式
import '@/common/assets/style/element.styl'
import '@/common/assets/style/common.styl'

import App from '@/App.vue'
import router from '@app/base/router'
import '@app/base/router/router-permission'
import 'element-plus/dist/index.css'
import '@/common/assets/iconfont/iconfont.css'
import '@/common/assets/iconfont/iconfont.js'

// 变量文件
import '@/common/assets/style/cssVariable.styl'

import IconSvg from '@/common/components/IconSvg/index.vue'
const app = createApp(App)
app.component('icon-svg', IconSvg)
app.use(createPinia()).use(Skeleton).use(router).mount('#app')
